<template>
  <div class="tools-container">
    <a-button type="primary" @click="save">保存</a-button>
    <a-button type="primary" @click="publish">发布</a-button>
  </div>
</template>

<script>
export default {
  methods: {
    save () {
      console.log('Save button clicked');
    },
    publish () {
      console.log('Publish button clicked');
    }
  }
};
</script>

<style scoped>
.tools-container {
  text-align: right;
  padding: 0 24px 24px;
}

.tools-container .ant-btn {
  margin-left: 8px;
}
</style>